package com.xidian.zhiancloud.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.SysEnterpriseFoundation;
import com.xidian.zhiancloud.model.SysEnterpriseFoundationExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface SysEnterpriseFoundationMapper extends BaseMapper<SysEnterpriseFoundation> {

    long countByExample(SysEnterpriseFoundationExample example);

    int deleteByExample(SysEnterpriseFoundationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysEnterpriseFoundation record);

    int insertSelective(SysEnterpriseFoundation record);

    List<SysEnterpriseFoundation> selectByExampleWithRowbounds(SysEnterpriseFoundationExample example, RowBounds rowBounds);

    List<SysEnterpriseFoundation> selectByExample(SysEnterpriseFoundationExample example);

    SysEnterpriseFoundation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysEnterpriseFoundation record, @Param("example") SysEnterpriseFoundationExample example);

    int updateByExample(@Param("record") SysEnterpriseFoundation record, @Param("example") SysEnterpriseFoundationExample example);

    int updateByPrimaryKeySelective(SysEnterpriseFoundation record);

    int updateByPrimaryKey(SysEnterpriseFoundation record);
}